package cn.wolfcode.luowowo.comment.repository;

import cn.wolfcode.luowowo.comment.domain.HotelComment;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HotelCommentRepository extends MongoRepository<HotelComment,String> {
    List<HotelComment> findByUserId(Long id);
}
